//========================================
//       General 
//========================================
#define UCHAR unsigned char
typedef unsigned long int I64;
#define MAX(x,y) (((x)>(y))?(x):(y))
#define MIN(x,y) (((x)<(y))?(x):(y))
#define INFINITY 100000
//#define MAX_HASH = 180000000                              /*max size of memory (hash table)*/
//#define FULL_OPEN = 171000000                             /* max size of open list */

//========================================
// PDB definition (copied from defPDB.h)
//========================================

//#define SIZE  11
//#define TABLESIZE 11*10*9*8*7*6*5 
//#define PATTERNSIZE 7 
//#define FILE1 "../Dumps/Size11Pattern_4_5_6_7_8_9_10"
//#define ProblemsFile "../Problems/problems11.d"
//1 1000 ../Problems/problems11.d  ../Dumps/Size11P7/Size11Pattern_4_5_6_7_8_9_10
//

/*
#define SIZE  12
#define TABLESIZE 12*11*10*9*8*7*6 //- size of visited table 980179200
#define PATTERNSIZE 7
//1 1000 ../Problems/problems12.d  ../Dumps/Size12P7/Size12Pattern_5_6_7_8_9_10_11
//*/


/*
#define SIZE  13
#define TABLESIZE 13*12*11*10*9*8*7 //- size of visited table 980179200
#define PATTERNSIZE 7
//1 1000 ../Problems/problems13.d  ../Dumps/Size13P7/Size13Pattern_6_7_8_9_10_11_12
//*/

//
//#define SIZE  14
//#define TABLESIZE 14*13*12*11*10*9*8 //- size of visited table 980179200
//#define PATTERNSIZE 7
//#define FILE1 "../dumps/Size14Pattern_7_8_9_10_11_12_13"
//#define ProblemsFile "../Problems/problems14.d"
////1 10 ../Problems/problems14.d  ../Dumps/Size14P7/Size14Pattern_7_8_9_10_11_12_13
////


/*
#define SIZE  15
#define TABLESIZE 15*14*13*12*11*10*9 //
#define PATTERNSIZE 7
//1 100 ../Problems/problems15.d  ../Dumps/Size15P7/Size15Pattern_8_9_10_11_12_13_14
//*/


#define SIZE  16
#define TABLESIZE 16*15*14*13*12*11*10 //- size of visited table
#define PATTERNSIZE 7
#define FILE1 "../dumps/Size16Pattern_9_10_11_12_13_14_15"
#define ProblemsFile "../Problems/problems16.d"
//////1 100 ../Problems/problems16.d  ../Dumps/Size16P7/Size16Pattern_9_10_11_12_13_14_15 
//

/*
#define SIZE  17
#define TABLESIZE 17*16*15*14*13*12*11 //- size of visited table
#define PATTERNSIZE 7
#define OperatorsFile "C:/Uzi_Thesis/Dual/Pancake/OperatorOrdering/OpOrdering17.txt"
//1 10 ../Problems/problems17.d ../Dumps/Size17P7/Size17Pattern_10_11_12_13_14_15_16
//*/

/*
#define SIZE  17
#define TABLESIZE 17*16*15*14*13*12 //- size of visited table
#define PATTERNSIZE 6
//1 10 ../Problems/problems17.d ../Dumps/Size17P6/Size17Pattern_11_12_13_14_15_16
//*/


/*
#define SIZE  17
#define TABLESIZE 17*16*15*14*13 //- size of visited table
#define PATTERNSIZE 5
//1 10 ../Problems/problems17.d ../Dumps/Size17P5/Size17Pattern_12_13_14_15_16
//*/

/*
#define SIZE  17
#define TABLESIZE 17*16*15*14*13*12*11*10 //- size of visited table
#define PATTERNSIZE 8

//1 10 ../Problems/problems17.d ../Dumps/Size17P8/Size17Pattern_9_10_11_12_13_14_15_16
//*/




/*#define SIZE  10
#define TABLESIZE 10*9*8*7*6 //- size of visited table
#define PATTERNSIZE 5
#define SHRINKDATABASE 1 //can be done only when max value in PDB is 15
*/

//1 1000 ../dumps/SIZE17Pattern9Shrinked/1000ProbSize17.d  ../dumps/SIZE17Pattern9Shrinked/Size17Spin4Pattern_0_1_2_3_4_5_6_7_8

